//
//  DealModel.h
//  Food choices
//
//  Created by xalo on 16/2/26.
//  Copyright © 2016年 张广斌. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface DealModel : NSObject

@property (nonatomic,assign) NSInteger deal_id;// 团单id
@property (nonatomic,strong) NSString *image;// 图片链接
@property (nonatomic,strong) NSString *tiny_image;// 小图链接
@property (nonatomic,strong) NSString *title;// 商户标题
@property (nonatomic,strong) NSString *introduce;// 商户描述
@property (nonatomic,assign) NSInteger market_price;// 市场价格
@property (nonatomic,assign) NSInteger current_price;// 售卖价格
@property (nonatomic,assign) NSInteger *promotion_price;// 活动价格
@property (nonatomic,assign) NSInteger sale_num;// 已售团单数量
@property (nonatomic,assign) CGFloat score;// 用户评分
@property (nonatomic,assign) NSInteger *comment_num;// 用户评论个数
@property (nonatomic,strong) NSString *deal_murl;// 团单详情

@property (nonatomic,assign) NSInteger distance;

@property (nonatomic,assign) NSInteger shop_num;

@property (nonatomic,assign) NSArray *city_ids;// 商品所在全部城市ID
@property (nonatomic,strong) NSString *min_title;// 商品标题
@property (nonatomic,strong) NSString *long_title;// 长标题
@property (nonatomic,assign) NSInteger cat_id;// 一级分类ID
@property (nonatomic,assign) NSArray *subcat_ids;// 二级分类的id列表
@property (nonatomic,assign) NSInteger publish_time;// 商品发布时间
@property (nonatomic,assign) NSInteger purchase_deadline;// 截止购买时间
@property (nonatomic,assign) NSInteger coupon_start_time;// 券有效开始时间
@property (nonatomic,assign) NSInteger coupon_end_time;// 券有效结束时间
@property (nonatomic,assign) BOOL is_reservation_required;// 是否需要预约
@property (nonatomic,strong) NSString *mid_image;// 商品中图
@property (nonatomic,strong) NSString *buy_contents;// 购买内容
@property (nonatomic,strong) NSString *consumer_tips;// 消费提示
@property (nonatomic,strong) NSString *buy_details;// 购买详情
@property (nonatomic,strong) NSString *shop_description;// 商户环境
@property (nonatomic,assign) NSArray *shop_ids;// 商户列表
@property (nonatomic,assign) NSInteger update_time;// 更新时间


@property (nonatomic,strong) NSMutableArray *shops;

@end
